package edu.guet.server.model;

import lombok.Data;
import java.util.Date;

@Data
public class StuSemester {
    private int stu_semester_id;
    private int user_id;
    private int semester_id;
    private byte isadmin;
    private Date update_time;
    private double valid_socre;
    private double aver_test;
    private double aver_hmk;

    int id;
    String username;
    String stu_number;
    String nickname;

    public StuSemester(int stu_semester_id, int user_id, int semester_id, byte isadmin, Date update_time, double valid_socre, double aver_test, double aver_hmk, String time) {
        this.stu_semester_id = stu_semester_id;
        this.user_id = user_id;
        this.semester_id = semester_id;
        this.isadmin = isadmin;
        this.update_time = update_time;
        this.valid_socre = valid_socre;
        this.aver_test = aver_test;
        this.aver_hmk = aver_hmk;
    }

    public StuSemester() {
    }

    public int getStu_semester_id() {
        return stu_semester_id;
    }

    public void setStu_semester_id(int stu_semester_id) {
        this.stu_semester_id = stu_semester_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getSemester_id() {
        return semester_id;
    }

    public void setSemester_id(int semester_id) {
        this.semester_id = semester_id;
    }


    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }


}
